(book image not shown)

Create Market-Ready Java Programs

Easy Installer, Trial Version, Secure Online Sales and More

by Annette Godtland

Buy Now Complete Listings Hard To Find Tools LearnMore

Is this your story? You just finished writing a great Java program and you would like to share it with others, maybe even sell it. Even if your program works great on your computer, you have much more to consider if you want to make it easy for others to use. It's time to make your program market-ready.

Create Market-Ready Java Programs: Easy Installer, Trial Version, Secure Online Sales and More demonstrates how to automate bundling your program, all its resources, and a minimal Java runtime environment into a single, downloadable, signed file that will easily and properly install your program into the Windows environment. You'll learn to create a trial version, add some piracy protection, sell your program securely online, and much more.

Create Market-Ready Java Programs: Easy Installer, Trial Version, Secure Online Sales, and More is available at amazon.com and other book retailers.

There are a few more files you need to do the lessons in the book. Download Complete Listings to your computer and extract the files into your Java work folder.

Learn More

This book covers a variety of topics essential to making a program market-ready:

Program Development

  • Avoid licensing issues: Oracle JDK vs OpenJDK.
  • Use Java modules.
  • Create a trial version (limited time or limited functionality).
  • Add integrated help.

Downloadable Installer

  • Put all your program resources into a single, easy to use install file.
  • Put your program online for others to download.
  • Prevent unsafe file warnings when downloaded.
  • Bundle minimal JRE with your program.

Windows Environment Integration

  • Create a Windows .exe to run your program.
  • Put program files into correct Windows data locations.
  • Add your program to the Windows start menu.
  • Create program icons.
  • Register a custom file type association.
  • Store details in the Windows system registry.

Secure Online Sales

  • Add a shopping cart to your website.
  • Accept payment by credit card.
  • Meet requirements for the Seller Protection Program.
  • Automatically validate orders before processing them.
  • Automatically provide a secure download link and/or unlock code upon payment.

Software Protection

  • Copyright your program.
  • Require a license agreement during install.
  • Make your exported code difficult for others to understand.
  • Require an unlock code to use the program.
  • Sign your digital files.
  • Distribute digital files from a secure online folder.

You'll learn to set up a single-click method to: recompile your whole program, rebuild the executable .jar file with obfuscated code and put it into an .exe file; rebuild the JRE; repackage the .exe, JRE, and other resources into a digitally signed install file; and backup your code.

Other Books by Annette Godtland

Do-It-Yourself Java Games Series of Books

Would you like to improve your Java programming skills while having fun doing it? Learn more about the Do-It-Yourself Java Games series of books. Learn why these books were written, why learn computer programming, and why Java. Learn how these books are organized, why they were written as electronic books, and what's next.

The books ccurrently available in the series:

  1. Do-It-Yourself Java Games: An Introduction to Java Computer Programming - Learn More.
  2. More Do-It-Yourself Java Games: An Introduction to Java Graphics and Event-Driven Programming - Learn More.
  3. Advanced Do-It-Yourself Java Games: An Introduction to Java Threads and Animated Video Games - Learn More.
  4. Do-It-Yourself Multiplayer Java Games: An Introduction to Java Sockets and Internet-Based Games - Learn More.

More Books by Annette Godtland

Create Market-Ready Java Programs: Easy Installer, Trial Version, Secure Online Sales and More

Do you have a program that you would like to share with others, maybe even sell? You have much more to consider if you want to make it easy for others to use, to protect it, and to sell it safely and securely online. It's time to make your program market-ready.

Create Your Own Mobile-Friendly Online Store: Add a Free Shopping Cart to Web Pages that Adapt to Screen Size

Do you have something you would like to sell online? Would paying to use existing online stores or e-commerce software cut too far into your small profit margin? By creating your own online store, the only selling fee you would need to pay is the PayPal transaction fee, which is only charged when an item is sold. Learn More.